package net.thread;

public class JoinThreadDemo
{
	public static void main(String[] args)
	{
		double[] array = new double[10000] ;
		for (int i = 0; i < array.length; i++)
		{
			array[i]=Math.random();
		}
		SortThread t = new SortThread(array);
		t.start();
		try
		{
			t.join();
			System.out.println("yeah");
		}
		catch (Exception e)
		{
		}
	}
}
